# Contributor: Alex McGrath <amk@amk.ie>
# Maintainer: Alex McGrath <amk@amk.ie>
pkgname=pamixer
pkgver=1.4
pkgrel=0
pkgdesc="pulseaudio command line mixer"
url="https://github.com/cdemoulins/pamixer"
arch="all"
license="GPL-3.0-only"
makedepends="pulseaudio-dev boost-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/cdemoulins/pamixer/archive/$pkgver.tar.gz"
# tests disabled as there are none
options="!check"

build() {
	make
}

package() {
	install -Dm755 "$builddir"/"$pkgname" \
		"$pkgdir"/usr/bin/"$pkgname"
}

sha512sums="e3916ed8dc020bb43e57994a9f35a506147a0fde42b88c30c661cbeffa40e0f74cae66cd015394e524684c32f9674de3e3763a1396a3e1b9aecbfdc3ed117fe4  pamixer-1.4.tar.gz"
